﻿//Write an expression that checks if given point (x,  y) is within a circle K(O, 5).

using System;

class CheckIfPointWithinCircle
{
    static void Main()
    {
        Console.Write("Enter x coordinate for the point: ");
        double x = double.Parse(Console.ReadLine());
        Console.Write("Enter y coordinate for the point: ");
        double y = double.Parse(Console.ReadLine());

        if ((x * x) + (y * y) <= 25)
        {
            Console.WriteLine("The point is within the circle.");
        }
        else
        {
            Console.WriteLine("The point is NOT within the circle.");
        }
    }
}
